<!DOCTYPE html>
<html>
<head>
  <!-- data-main指定的入口 会在require.js加载完成后自动执行 -->
  <script data-main="scripts/app" src="scripts/libs/require.js"></script>
</head>
<body>
  <form>
    <label for="price">price</label>
    <input type="text" id="price">
    <label for="count">count</label>
    <input type="text" id="count">
    <button id="pay" type="button">Pay</button>
  </form>
  <p id="result"></p>
</body>
</html>